" 简单的计数器测试 - 模拟for循环

let counter = 0
let max_count = 5

while counter < max_count
    echo counter
    let counter = counter + 1
endwhile

echo "循环完成"